package com.athena.util;

import cn.hutool.core.util.IdUtil;
import cn.hutool.crypto.SecureUtil;

public class SessionUtil {

    /**
     * 生成sessionId
     * @return
     */
    public static String generateSessionId() {
        return SecureUtil.md5(IdUtil.simpleUUID()
                + IdUtil.objectId()
                + System.currentTimeMillis());
    }
}
